<!DOCTYPE html>
<html lang="en">
<head>
    <title>管理系统入口端</title>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Bootstrap CSS -->
    {% load staticfiles %}
    <link rel="stylesheet" href="{% static '/css/bootstrap.min.css' %}">
    <!-- FontAwesome CSS -->
    <link rel="stylesheet" href="{% static '/css/font-awesome.min.css' %}">
    <!-- ElegantFonts CSS -->
    <link rel="stylesheet" href="{% static '/css/elegant-fonts.css' %}">
    <!-- themify-icons CSS -->
    <link rel="stylesheet" href="{% static '/css/themify-icons.css' %}">
    <!-- Swiper CSS -->
    <link rel="stylesheet" href="{% static '/css/swiper.min.css' %}">
    <!-- Styles -->
    <link rel="stylesheet" href="{% static '/style.css' %}">
    <style type="text/css">
    .hero-content-wrap {
    height: 597px;
    padding-top: 130px;
}
        .change-a-width li a{
            width: 95px;
        }
        .hero-content-overlay-height{
            height:430px;
        }
        .entry-header-top{
            margin-top: -230px;
        }
        a{

                text-decoration:none !important;
            }
          input{
            float:right;
          }
               .add{
              height: 40px;
              }
         .entry-footer{
             height: 40px;}
    </style>
</head>
<body>
    <div class="hero-content">
        <header class="site-header">


        <div class="nav-bar">
            <div class="container">
                <div class="row">
                    <div class="col-9 col-lg-3">
                        <div class="site-branding">
                            <h1 class="site-title"><a href="{% url 'empoll:login' %}" rel="home">评分管理<small><span>系统</span></small></a></h1>
                        </div><!-- .site-branding -->
                    </div><!-- .col -->

                    <div class="col-3 col-lg-9 flex justify-content-end align-content-center">
                        <nav class="site-navigation flex justify-content-end align-items-center">
                            <ul class="flex flex-column flex-lg-row justify-content-lg-end align-content-center change-a-width">
                                <li class="current-menu-item"><a href="{% url 'empoll:login' %}">首页</a></li>
                                <!--<li><a href="#">新建</a></li>-->
                                <!--<li><a href="#">查询</a></li>-->
                                <!--<li><a href="">关于</a></li>-->

                            </ul>

                            <div class="hamburger-menu d-lg-none">
                                <span></span>
                                <span></span>
                                <span></span>
                                <span></span>
                            </div><!-- .hamburger-menu -->

                            <div class="header-bar-cart">
                                <a href="#" class="flex justify-content-center align-items-center"><span aria-hidden="true" class="icon_bag_alt"></span></a>
                            </div><!-- .header-bar-search -->
                        </nav><!-- .site-navigation -->
                    </div><!-- .col -->
                </div><!-- .row -->
            </div><!-- .container -->
        </div><!-- .nav-bar -->
    </header><!-- .site-header -->

    <div class="hero-content-overlay hero-content-overlay-height">
        <div class="container">
            <div class="row">
                {% ifequal latest_Empoly_list.employ_auth 0 %}
                <div class="col-12 col-lg-6" >
                    <div class="hero-content-wrap flex flex-column justify-content-center align-items-start">
                        <header class="entry-header entry-header-top">
                            <h2 style="color:#19c880">管理员管理</h2>
                        </header><!-- .entry-header -->

                        <footer class="entry-footer read-more">
                            <a href="{% url 'empoll:touserlist' latest_Empoly_list.employ_ID %}">用户信息管理</a>
                        </footer><!-- .entry-footer -->
                        <footer class="entry-footer read-more">
                            <a href="{% url 'empoll:commentlist' latest_Empoly_list.employ_ID %}">评价管理</a>
                        </footer><!-- .entry-footer -->
                        <footer class="entry-footer read-more">
                            <a href="{% url 'empoll:toprint' latest_Empoly_list.employ_ID  %}">导出评价分数</a>
                        </footer><!-- .entry-footer -->
                    </div><!-- .hero-content-wrap -->

                </div><!-- .col -->
                <div class="col-12 col-lg-6">
                    <div class="hero-content-wrap flex flex-column justify-content-center align-items-start">
                        <header class="entry-header entry-header-top">
                            <h2 style="color:#19c880">输入你想查询的评价的用户ID</h2>
                        </header><!-- .entry-header -->

                        <div class="entry-content">
                            <div class="header-bar-search">
                                <form class="flex align-items-stretch" method="post" action="{% url 'empoll:commentsearch' latest_Empoly_list.employ_ID %}">
                                     {% csrf_token %}
                                    <input type="search" placeholder="输入ID" name="q">
                                    <button type="submit" value="" class="flex justify-content-center align-items-center"><i class="fa fa-search"></i></button>
                                </form>
                            </div><!--.header-bar-search-->
                        </div><!-- .entry-content -->


                    </div><!-- .hero-content-wrap -->

                </div><!-- .col -->

                {% endifequal %}
            </div><!-- .row -->
        </div><!-- .container -->
    </div><!-- .hero-content-hero-content-overlay -->
</div><!-- .hero-content -->

<section class="featured-courses horizontal-column courses-wrap">
    <div class="container">
        <div class="row">

            {%  if  sen %}
                <div class="col-12">
                <header class="heading flex justify-content-between align-items-center">
                    <h2 class="entry-title" style="color:red">{{sen}}</h2>

                </header><!-- .heading -->
            </div><!-- .col -->
            <hr size=＂1＂ noshade=＂noshade＂ style=＂border:1px #cccccc dotted;＂/>
            {% endif %}


            {%  if  bsen %}
            <div class="col-12">
                <header class="heading flex justify-content-between align-items-center">
                    <h2 class="entry-title" style="color:red">{{bsen}}</h2>
                </header><!-- .heading -->
            </div><!-- .col -->
             <hr size=＂1＂ noshade=＂noshade＂ style=＂border:1px #cccccc dotted;＂/>

            {% endif %}


            {% if search %}
            <div class="col-12">
                <header class="heading flex justify-content-between align-items-center">
                    <h2 class="entry-title" style="color:green">{{searcher}}评价-预览</h2>

                </header><!-- .heading -->
            </div><!-- .col -->
            {% for obj1 in search %}
                <div class="col-12 col-lg-6">
                <div class="course-content flex flex-wrap justify-content-between align-content-lg-stretch">

                    <div class="course-content-wrap" style="width:100%">
                        <form  action="" method="post"  enctype="multipart/form-data">
                        {% csrf_token %}
                        <header class="entry-header">
                            <h2 class="entry-title">评价ID编号:</h2>
                            <div class="entry-meta flex-wrap align-items-center">
                                <div class="course">ID:{{obj1.id}}</div>
                            </div><!-- .course-date -->
                        </header><!-- .entry-header -->
                        <div class="entry-footer read-more">
                            <a >评价人ID:{{obj1.scorer_appraiser}}</a>
                        </div><!-- .entry-footer -->
                        <div class="entry-footer">
                            <a >被评价人ID:{{ obj1.scorer_appraisered}}</a>
                        </div><!-- .entry-footer -->
                        <div class="entry-footer">
                            <a >被评价分数:{{ obj1.scorer_value}}</a>
                        </div><!-- .entry-footer -->
                        <a type="button"  class="deletebutton col-12 col-lg-5" style="margin-right:0px;color:white;text-align:center" href="{% url 'empoll:deletecomment' latest_Empoly_list.employ_ID obj1.id %}"> 删除</a>

                        </form>
                    </div><!-- .course-content-wrap -->


                </div><!-- .course-content -->
            </div><!-- .col -->
            {% endfor %}

            {% endif %}
            {% if besearch %}
            <div class="col-12">
                <header class="heading flex justify-content-between align-items-center">
                    <h2 class="entry-title" style="color:green">{{searcher}}被评价-预览</h2>
                </header><!-- .heading -->
            </div><!-- .col -->

            {% for obj1 in besearch %}

                <div class="col-12 col-lg-6">
                <div class="course-content flex flex-wrap justify-content-between align-content-lg-stretch">

                    <div class="course-content-wrap" style="width:100%">
                        <form  action="" method="post"  enctype="multipart/form-data">
                        {% csrf_token %}
                        <header class="entry-header">
                            <h2 class="entry-title">评价ID编号:</h2>
                            <div class="entry-meta flex-wrap align-items-center">
                                <div class="course">ID:{{obj1.id}}</div>
                            </div><!-- .course-date -->
                        </header><!-- .entry-header -->
                        <div class="entry-footer read-more">
                            <a >评价人ID:{{obj1.scorer_appraiser}}</a>
                        </div><!-- .entry-footer -->
                        <div class="entry-footer">
                            <a >被评价人ID:{{ obj1.scorer_appraisered}}</a>
                        </div><!-- .entry-footer -->
                        <div class="entry-footer">
                            <a >被评价分数:{{ obj1.scorer_value}}</a>
                        </div><!-- .entry-footer -->
                        <a type="button"  class="deletebutton col-12 col-lg-5" style="margin-right:0px;color:white;text-align:center" href="{% url 'empoll:deletecomment' latest_Empoly_list.employ_ID obj1.id %}"> 删除</a>

                        </form>
                    </div><!-- .course-content-wrap -->


                </div><!-- .course-content -->
            </div><!-- .col -->

            {%  endfor %}
            {% endif %}



            <div class="col-12">
                <header class="heading flex justify-content-between align-items-center">
                    <h2 class="entry-title">评价信息预览</h2>

                </header><!-- .heading -->
            </div><!-- .col -->




            {%  if allinfor %}
            {% for obj1 in allinfor %}
                 <div class="col-12 col-lg-6">
                <div class="course-content flex flex-wrap justify-content-between align-content-lg-stretch">

                    <div class="course-content-wrap" style="width:100%">
                        <form  action="" method="post"  enctype="multipart/form-data">
                        {% csrf_token %}
                        <header class="entry-header">
                            <h2 class="entry-title">评价ID编号:</h2>
                            <div class="entry-meta flex-wrap align-items-center">
                                <div class="course">ID:{{obj1.id}}</div>
                            </div><!-- .course-date -->
                        </header><!-- .entry-header -->
                        <div class="entry-footer read-more">
                            <a >评价人ID:{{obj1.scorer_appraiser}}</a>
                        </div><!-- .entry-footer -->
                        <div class="entry-footer">
                            <a >被评价人ID:{{ obj1.scorer_appraisered}}</a>
                        </div><!-- .entry-footer -->
                        <div class="entry-footer">
                            <a >被评价分数:{{ obj1.scorer_value}}</a>
                        </div><!-- .entry-footer -->
                        <a type="button"  class="deletebutton col-12 col-lg-5" style="margin-right:0px;color:white;text-align:center" href="{% url 'empoll:deletecomment' latest_Empoly_list.employ_ID obj1.id %}"> 删除</a>

                        </form>
                    </div><!-- .course-content-wrap -->


                </div><!-- .course-content -->
            </div><!-- .col -->
            {% endfor %}
            {% endif %}



    </div><!-- .container -->
    </div>
</section><!-- .courses-wrap -->

<footer class="site-footer">
        <div class="footer-bar">
            <div class="container">
                <div class="row flex-wrap justify-content-center justify-content-lg-between align-items-center">
                    <div class="col-12 col-lg-4">
                        <div class="download-apps flex flex-wrap justify-content-center justify-content-lg-start align-items-center">
                            <a href="http://www.henannu.edu.cn/"><img src="{% static '/images/shid.jpg' %}" alt="" style="height: 37px;width: 119px;"></a>
                            <a href="https://github.com/aoxipo"><img src="{% static '/images/my1.png'  %}" alt="" style="height: 37px;width: 119px;"></a>
                        </div><!-- .download-apps -->

                    </div>
                    <div class="col-12 col-lg-4" style="text-align: center;padding-top: 10px;"><a href="http://www.miitbeian.gov.cn/" style="color: #757686;">豫ICP备18043565号</a></div>
                    <div class="col-12 col-lg-4 mt-4 mt-lg-0">
                        <div class="footer-bar-nav">
                            <ul class="flex flex-wrap justify-content-center justify-content-lg-end align-items-center">
                                <li><a href="#">list</a></li>
                                <li><a href="#">Terms of Use</a></li>
                                <li><a href="https://github.com/aoxipo">Privacy Policy</a></li>
                            </ul>
                        </div><!-- .footer-bar-nav -->
                    </div><!-- .col-12 -->
                </div><!-- .row -->
            </div><!-- .container -->
        </div><!-- .footer-bar -->
    </footer><!-- .site-footer -->

    <script type='text/javascript' src="{% static '/js/jquery.js' %}"></script>
    <script type="text/javascript" src="{% static '/js/swiper.min.js'%}" ></script>
    <script type='text/javascript' src="{% static '/js/masonry.pkgd.min.js' %}"></script>
    <script type='text/javascript' src="{% static '/js/jquery.collapsible.min.js' %}"></script>
    <script type='text/javascript' src="{% static '/js/custom.js' %}"></script>

</body>
</html>